import ajax from './ajax'

export const getProfile = () => {
  return ajax({
    url: '/AiPartnerCourese/GetPartnerDetail'
  })
}

export const updateGender = params => {
  return ajax({
    url: '/AiPartnerCourese/UpdatePartnerSex',
    data: params
  })
}

export const updatePhone = params => {
  return ajax({
    url: '/AiPartnerCourese/UpdatePartnerMobile',
    data: params
  })
}